package com.lyc.demo.annotations;

public class AnnotationSample {

    @FieldStringInfo
    private String name;

    @FieldIntegerInfo(priority = FieldIntegerInfo.Priority.MEDIUM, author = "Yashwant", status = FieldIntegerInfo.Status.STARTED)
    private int age;

    @ConstructorInfo
    AnnotationSample() {

    }

    @ConstructorInfo
    AnnotationSample(String name, int age) {
        this.name = name;
        this.age = age;
    }

    @MethodInfo
    String getName() {
        return name;
    }

    @MethodInfo
    void setName(String name) {
        this.name = name;
    }

    @Override
    public String toString() {
        return super.toString();
    }
}
